"""
# -*- coding: utf-8 -*-
Time    : 2025/7/28 下午1:53
Author  : Micah
File    : 1.py
Function:
"""

import allure


@allure.epic("项目名称-智考1.0")
@allure.feature("模块-用户管理模块")
class TestFirstClass:

    @allure.story("用户登陆接口")
    @allure.severity(allure.severity_level.BLOCKER)
    def test_login(self):
        allure.dynamic.title("用例名称-验证成功登陆")
        print("登陆")

    @allure.story("用户注册接口")
    @allure.severity(allure.severity_level.CRITICAL)
    def test_register(self):
        allure.dynamic.title("用例名称-验证成功注册")
        print("注册")

    @allure.story("添加用户")
    @allure.severity(allure.severity_level.NORMAL)
    def test_add_user(self):
        allure.dynamic.title("用例名称-验证成功添加用户")
        print("添加用户")

    @allure.story("删除用户")
    @allure.severity(allure.severity_level.MINOR)
    def test_delete_user(self):
        allure.dynamic.title("用例名称-验证成功删除用户")
        print("删除用户")

    @allure.story("修改用户")
    @allure.severity(allure.severity_level.TRIVIAL)
    def test_update_user(self):
        allure.dynamic.title("用例名称-验证成功修改用户")
        print("修改用户")
